﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace senController.classes
{
    class Traffic
    {
        public string type;
        public string spawntime;
        public string location;
        public string direction;

        public Traffic()
        {
        }

        public void setType(string type)
        {
            this.type = type;
        }
        public string getType()
        {
            return this.type;
        }
        public void setSpawntime(string spawntime)
        {
            this.spawntime = spawntime;
        }
        public int getSpawntime()
        {
            return Convert.ToInt32(this.spawntime);
        }
        public void setLocation(string location)
        {
            this.location = location;
        }
        public string getLocation()
        {
            return this.location;
        }
        public void setDirection(string direction)
        {
            this.direction = direction;
        }
        public string getDirection()
        {
            return this.direction;
        }
    }
}
